{% extends "base.html" %}
{% from 'macros.html' import form_field %}
<!-- {% import "bootstrap/wtf.html" as wtf %} -->
<!-- using wtf.html will influence the network speed -->

{% block title %}ddl-web{% endblock %}


{% block page_content %}

<h3>Register</h3>
<form method="post" action="{{ url_for('main.create_user') }}">
    {{ form_create_user.csrf_token }}
    {{ form_field(form_create_user.name) }}
    {{ form_field(form_create_user.password) }}
    {{ form_create_user.submit }}
</form>

<h3>Login</h3>
<form method="post" action="{{ url_for('main.login') }}">
    {{ form_login.csrf_token }}
    {{ form_field(form_login.name) }}
    {{ form_field(form_login.password) }}
    {{ form_login.submit }}
</form>


{% endblock %}

